package onlinecalsys.client.view;

import java.rmi.RemoteException;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;

import onlinecalsys.client.view.gui.MainGUI;
import onlinecalsys.server.objects.CalsysCalendar;

public class Testing {

	public static void main(String[] args) throws ParseException, RemoteException {
		// Calendar cal = Calendar.getInstance();
		// int day = cal.get(Calendar.DATE);
		// int month = cal.get(Calendar.MONTH) + 1;
		// int year = cal.get(Calendar.YEAR);
		// System.out.println(cal.getTime());
		//		
		// System.out.println(day + month + year);
		//		
		// Date date = new Date();
		// date

//		DateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
//		java.util.Date date = new java.util.Date();
//		dateFormat.format(Calendar.getInstance().getTime());
		
		MainView view = MainView.getInstance("Armen");
		System.out.println(view.shareAppointment(40, "John"));

	}

}
